﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapTo(typeof(WebhookUpdateBo))]
    public class WebhookUpdateDto
    {
        public Guid Id { get; set; }
        [Required]
        [MaxLength(WebhookStringLength.MaxLength_URL)]
        public string URL { get; set; }

        public Dictionary<string,string> Headers { get; set; }
    }
}